import Vue from 'vue';
import { get, post } from '@/utils/request';
// 订单详情
export function orderDetail(orderId) {
    return get({
        url: Vue.prototype.$conf.baseUrl + '/h5/detail?orderId=' + orderId
    });
}
// 订单返显
export function orderSelect(orderId) {
    return get({
        url: Vue.prototype.$conf.baseUrl + '/direct/selectOrdersByOrderId?orderId=' + orderId
    });
}

//直客承运信息
export function kaCarrier(parm) {
    return post({
        url: Vue.prototype.$conf.baseUrl + '/kaCarrier/queryCarrierByLikeName',
        data: parm
    });
}
//修改订单
export function orderChange(parm) {
    return post({
        url: Vue.prototype.$conf.baseUrl + '/direct/modifyOrder',
        data: parm
    });
}
